<?php #20070415 
define('BLOCKRCERCA','1.00');
/************************************************************************/
/* FrameWork  test preview                                              */
/* ==================================================================== */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/


// block cerca usando i motori di ricerca

//carica la lingua se esiste
$lang=lang();
switch($lang){
    case "en":
	define("_RICERCA","search");
	define("_CERCA_NEL_SITO","find in this site");
	break;
    default:
	define("_RICERCA","Ricerca");
	define("_CERCA_NEL_SITO","Cerca nel sito");
	break;
}

?>

<style>

div.table.block.ricerca form
{
	margin: 0;
	text-align: center;
}

div.table.block.ricerca input
{
	margin: 2px;
}

</style>


<?php $root="www.framework.altervista.org" ?>

 <?php structure_openBlock("table block ricerca",_RICERCA,"$path/$block"); ?>
    <p>

	<!-- SiteSearch Google -->
	<form name="ricerca">
	    <a href="index.php?appname=_iframe&path=http://www.google.com/">
	    <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google"></img></a><br/>
	    <input type="text" name="q" size="16" maxlength="255" value=""></input>
	    <input type="button" name="sa" value="<?=_CERCA_NEL_SITO?>" onclick="location='http://www.google.com/custom?q='+ ricerca.q.value + '&sitesearch=www.framework.altervista.org'" ></input>
	</form>
	<!-- SiteSearch Google -->
    </p>
<?php structure_closeBlock(); ?>

